﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Web.Configuration;

namespace Crawler.Configuration
{
    public class CrawlerSection: ConfigurationSection
    {
        static CrawlerSection()
        {
            setings = (CrawlerSection) WebConfigurationManager.GetSection("Crawler");
        }
        private static CrawlerSection setings;
        public static CrawlerSection Settings
        {
            get
            {
                return setings;
            }
        }

        [ConfigurationProperty("LoginInfo", IsDefaultCollection = false)]
        public AuthDataCollection LoginInfo
        {
            get { return (AuthDataCollection)base["LoginInfo"]; }
        }
 

    }
}
